package com.yonyou.pmclouds.businessobject.rmiitf;

import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.businessobject.entity.BoAttrsVO;
import com.yonyou.pmclouds.businessobject.entity.BusinessObjectVO;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public interface BusinessObjectMaintain {

    ArrayList<BoAttrsVO> getAttrsVo(BusinessObjectVO businessObjectVO) throws BusinessException;

    String parseBO(BusinessObjectVO businessObjectVO) throws BusinessException;

    String getPrintCode(String boCode, String tenantId) throws BusinessException;

    String getPrintCodeByType(String tenantId, String boCode, String pkProcedure) throws BusinessException;

    String getPrintCodeByProcessCode(String processCode, String tenantId) throws BusinessException;

    String saveBo(BusinessObjectVO businessObjectVO, String tenantId) throws BusinessException;

    String updateBoToCloud(String boCode, String boStr, String tenantId) throws BusinessException;

    String initBO(List<BusinessObjectVO> businessObjectVOS, String tenantId) throws BusinessException;

    String initBO(String tenantId) throws BusinessException;

    String initTenantBizz(List<String> tenantIdList) throws BusinessException;

    Map<String, List<String>> getAttrByProcedure(String pkProcedure) throws BusinessException;
}
